<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2020/7/31
  Time: 14:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery-3.4.1.min.js"></script>
    <script src="../js/load.js"></script>
    <link rel="stylesheet" href="../css/top.css">
    <link rel="stylesheet" href="../css/contact us.css">
    <script type="text/javascript" src="//api.map.baidu.com/api?v=2.0&ak=jRgZXYWGDR2iT9Z0zXkE4oC4ZgDKRuhc"></script>
</head>
<body>
<jsp:include page="head.jsp"></jsp:include>
<div class="top"><div><div>联系我们 CONTACTUS</div></div></div>
<div class="contact">
    <!--        当前位置-->
    <div class="top-01">
        <div>当前位置：</div>
        <div><a href="${headLink.get(0).getHref()}">${headLink.get(0).getTitle()}</a></div>
        <div><a href="${headLink.get(5).getHref()}">${headLink.get(5).getTitle()}</a></div>
    </div>
    <div>${contactUsService.words}</div>
    <div>
        <div id="allmap"></div>
        <div class="contactUs">
            <div>地址：${contactUs.location}</div>
            <div>联系（咨询）电话：${contactUs.contactphone}</div>
            <div>预约（挂号）电话：${contactUs.orderphone}</div>
            <div>邮箱：${contactUs.email}</div>
            <div>网址：${contactUs.net}</div>
            <div>乘车路线：${contactUs.line}</div>
            <div>官方微博：${contactUs.wechat}</div>
            <div>微信公众号：${contactUs.twitter}</div>
        </div>
    </div>
</div>
<jsp:include page="foot.jsp"></jsp:include>
</body>

</html>
<script type="text/javascript">
    // 百度地图API功能
    var map = new BMap.Map("allmap");    // 创建Map实例
    map.centerAndZoom(new BMap.Point(104.067263,30.578456), 11);  // 初始化地图,设置中心点坐标和地图级别
    //添加地图类型控件
    map.addControl(new BMap.MapTypeControl({
        mapTypes:[
            BMAP_NORMAL_MAP,
            BMAP_HYBRID_MAP
        ]}));
    map.setCurrentCity("北京");          // 设置地图显示的城市 此项是必须设置的
    map.enableScrollWheelZoom(true);     //开启鼠标滚轮缩放
</script>